package com.lijy.employee.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lijy.employee.domain.Department;

public interface DepartmentDao {

	List<Department> findAll();

	List<Department> findByPage(@Param("begin") int begin,@Param("pageSize") int pageSize);
	
	int findCount();
	
	void save(Department department);
	
	Department findById(String did);
	
	void update(Department department);
	
	void delete(String did);
	
}
